
package calculator;


public class Calculator {

    
    public static void main(String[] args) 
    {
        try 
        {
            System.out.println(Calc.count(2, 0, '/'));
        }
        catch(ArithmeticException e)
        {
            System.out.println(e.getMessage());
        }
        catch(IllegalArgumentException e)
        {
            System.out.println(e.getMessage());
        }
               
        

        
    }
}
